package com.itheima.health.service;

import com.itheima.health.exception.MyException;
import com.itheima.health.pojo.OrderSetting;

import java.util.List;
import java.util.Map;

/**
 * @program: health_parent
 * @description:
 * @author: HuChunping
 * @create: 2021-01-13 17:00
 **/

public interface OrdersettingService {
    /**
    * @Description: 预约Excel批量导入
    * @Param: [orderSettingList]
    * @return: void
    * @Author: HuChunping
    * @Date: 2021/1/13-17:02
    */
    void addbatch(List<OrderSetting> orderSettingList) throws MyException;

    /**
    * @Description: 通过年月查询当月数据
    * @Param: [month]
    * @return: java.util.List<java.util.Map<java.lang.String,java.lang.Integer>>
    * @Author: HuChunping
    * @Date: 2021/1/14-19:53
    */
    List<Map<String, Integer>> getOrderSettingByMonth(String month);

    /**
    * @Description: 通过日期更新预约设置
    * @Param: [orderSetting]
    * @return: void
    * @Author: HuChunping
    * @Date: 2021/1/14-21:44
    */
    void editNumberByDate(OrderSetting orderSetting) throws MyException;
}
